package com.zhangzhan.gulimallcommcon.constant.orderAndWareUnLockCons;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/7/2 11:39
 */

public class OrderCancelMqConstant {

    //延时队列
    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";
    //延时队列路由键
    public static final String ORDER_CREATE_ORDER = "order.create.order";
    //配置当延时队列中的msg过期之后转到哪个交换机的参数标识
    public static final String X_DEAD_LETTER_EXCHANGE = "x-dead-letter-exchange";
    //配置转到指定交换机之后路由键是什么的参数标识
    public static final String X_DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";
    //存入队列中的过期延时时间配置的参数标识
    public static final String X_MESSAGE_TTL = "x-message-ttl";
    public static final Integer ORDER_FAIL_TTL = 60000;


    //接收死信的队列
    public static final String ORDER_RELEASE_ORDER_QUEUE = "order.release.order.queue";
    //接收死信的队列的路由键
    public static final String ORDER_RELEASE_ORDER = "order.release.order";

    //秒杀队列路由键
    public static final String SECKILL_CREATE_ORDER = "seckill.create.order";
    //秒杀队列
    public static final String SECKILL_CREATE_ORDER_QUEUE = "seckill.create.order.queue";


    //处理和接收死信的交换机
    public static final String ORDER_EVENT_EXCHANGE = "order-event-exchange";
}
